package artid.com.arttogoa.parser;

import java.io.Serializable;

import org.json.JSONObject;

public class AuthcertificationItem extends AppItem implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	String auth_time;
	String is_auth;
	String identity;
	String realname;
	String finish_time;
	String reason;

	@Override
	public void parse(JSONObject obj) {
		if (null == obj) {
			return;
		}
		auth_time = obj.optString("auth_time");
		is_auth = obj.optString("is_auth");
		identity = obj.optString("identity");
		realname = obj.optString("realname");
		finish_time = obj.optString("finish_time");
		reason = obj.optString("reason");
	}

	public String getAuth_time() {
		return auth_time;
	}

	public void setAuth_time(String auth_time) {
		this.auth_time = auth_time;
	}

	public String getIs_auth() {
		return is_auth;
	}

	public void setIs_auth(String is_auth) {
		this.is_auth = is_auth;
	}

	public String getIdentity() {
		return identity;
	}

	public void setIdentity(String identity) {
		this.identity = identity;
	}

	public String getRealname() {
		return realname;
	}

	public void setRealname(String realname) {
		this.realname = realname;
	}

	public String getFinish_time() {
		return finish_time;
	}

	public void setFinish_time(String finish_time) {
		this.finish_time = finish_time;
	}

	public String getReason() {
		return reason;
	}

	public void setReason(String reason) {
		this.reason = reason;
	}

	@Override
	public String toString() {
		return "AuthcertificationItem [auth_time=" + auth_time + ", is_auth="
				+ is_auth + ", identity=" + identity + ", realname=" + realname
				+ ", finish_time=" + finish_time + ", reason=" + reason + "]";
	}

}
